<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<link rel="stylesheet" 
	type="text/css" href="style.css" />
	<title>Kravinsky Code Sharing Application</title>
 </head>
<body>
<table align="center" width="920" border="3" cellpadding="0" cellspacing="0">
	<tr>
		<td >
			<table align="center" style="border-bottom: 1px solid black; margin-top: 1px; background-color: rgb(0, 0, 100);" width="920" border="0" cellpadding="0" cellspacing="0">
				<tr style="height: 47px;"><td></td></tr>
				<tr>
					<td width="15">&nbsp;</td>
					<td><img src="images/logo.gif" /></td>
					<td align="right">
						<form action="" onsubmit="">
							<label style="color:#FFFFC6">Quick Category Search:</label>
							<input type="text" name="q" />
						</form>
					</td>
					<td width="15">&nbsp;</td>
				</tr>
				<tr style="height: 5px;"><td></td></tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>
			<table align="center" width="890" border="0" cellpadding="0" cellspacing="0"  style="border-bottom: 2px solid black; margin-top: 1px;">
				<tr>
					<td bgcolor="#677E98" valign ="top" align="center" width="130">
						<div class="cssbutton">
							<a href="/CodeShare/about.html" target="content"><img src="images/h_b1.gif" alt="Home" /><span>Home</span></a>
						</div>
						<div class="cssbutton">
							<a href="/CodeShare/site/login.jsp" target="content"><img src="images/h_b1.gif" alt="Login" /><span>Login</span></a>
						</div>
						<div class="cssbutton">
							<a href="/CodeShare/site/upload.jsp" target="content"><img src="images/h_b1.gif" alt="Upload" /><span>Upload</span></a>
						</div>
						<div class="cssbutton">
							<a href="/CodeShare/site/xslt.jsp?" target="content"><img src="images/h_b1.gif" alt="Xslt" /><span>Xslt</span></a>
						</div>
						<div class="cssbutton">
							<a href="/CodeShare/site/userCode.jsp" target="content"><img src="images/h_b1.gif" alt="userCode" /><span>My Code</span></a>
						</div>
						<div class="cssbutton">
							<a href="/CodeShare/index.jsp?valid=logout" ><img src="images/h_b1.gif" alt="Logout" /><span>Logout</span></a>
						</div>

					</td>
					<td valign="top" align="center">
						<h1>Welcome to Kravinsky Code Sharing</h1>
						<table>
							<tr>
								<td> <% String valid = request.getParameter("valid");
										if (valid != null){ %>
										<iframe height="600" width="500" src ="/CodeShare/site/login.jsp?valid=<% out.print(valid); %>" name="content"></iframe>
									<% } else { %>
										<iframe height="600" width="500"  src ="/CodeShare/about.html" name="content"></iframe>
									<% } %>
								</td>
								<td valign="top" align="right">
									<iframe width ="400" height="600" src ="/CodeShare/site/search.html" name="searchFrame"></iframe>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</html>
